import request from "@/common/request.js"
//获取商品列表
export function getGoodsList(){
	return request.get({
		url:'goodsList'
	});
}
//获取banner
export function getBanner(){
	return request.get({
		url:'getGroupDatas',
		data:{"groupName":"yshop_home_banner"}
	});
}
//获取首页导航菜单
export function getNavigationMenu(){
	return request.get({
		url:'getGroupDatas',
		data:{"groupName":"yshop_home_menus"}
	});
}
export function getGroupData(data){
	return request.get({
			url:'getGroupDatas',
			data:data
	})
}